package com.itlong.cloud.wechat.service;

import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <desc>
 *      微信消息业务处理类
 * </desc>
 *
 * @createDate 2019/05/17
 */
public interface IWeChatMessageService {
    /**
     * <desc>
     *      处理微信发来的请求返回推送xml
     * </desc>
     *
     * @param request
     * @return
     *@createDate 2019/05/17
     */
    String processRequestForNews(@RequestBody Map<String, String> request);


    /**
     * <desc>
     *      定时任务更新微信公众号与小程序之间的关联关系
     * </desc>
     *
     * @throws Exception
     * @author Jiaqi.X
     * @createDate 2019/05/21
     */
    void bindOfficeOpenIdAndMiniProgramOpenId() throws Exception;
}
